﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CarHelpDesk.Web.Models.Repositories
{
    public interface IUserDetailsRepository
    {
        ///// <summary>
        ///// Retrieves the user rating by ID.
        ///// </summary>
        ///// <param name="answerID">The valid user ID.</param>
        ///// <returns></returns>
        //int getUserRatingByID(Guid ID);

        /// <summary>
        /// Gets the user detail by GUID.
        /// </summary>
        /// <param name="userGuid">The user's GUID.</param>
        /// <returns></returns>
        UserDetail getUserDetailByGuid(Guid userGuid);

        /// <summary>
        /// Updates the user's details.
        /// </summary>
        /// <param name="userDetail">The user detail.</param>
        void updateUserDetail(UserDetail userDetail);

        /// <summary>
        /// Adds the user detail.
        /// </summary>
        /// <param name="newUserDetails">The new user details.</param>
        void addUserDetail(UserDetail newUserDetails);


        void addToUserRating(aspnet_User user, int value); 
    }
}
